package com.dailyblue.java.spring.boot.commons.bean;

import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

@Data
public class Post implements Serializable {
    private Integer id;
    private String postTitle;
    private String postContent;
    private String postCreationTime;
    private Integer sectionId;
    private Integer userId;
    private Integer state;

    private Section section;
    private User user;
    // 模拟发帖人
    private String nickName;
    // 模拟回复数
    private Integer replyCount;
    // 所有回帖
    private List<Reply> replySet;
}
